package StringUtils;

import java.util.ArrayList;
import java.util.List;

public class GetBigWord {

	private int a = 3;

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String a = "abbbbcccddeefe";
		StringBuffer b = new StringBuffer();
		List list = new ArrayList();
		char[] ch = a.toCharArray();
		fo: for (int i = 0; i < ch.length - 1; i++) {
			if (ch[i] == ch[i + 1]) {
				b.append(ch[i]);
			} else {
				list.add(b);
				continue fo;
			}
		}

	}
}
